<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>康纳天花系统后台</title>
<link href="/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/css/admins/base.css" rel="stylesheet" type="text/css">
<script src="/js/plugs/jquery.js"></script>
<script src="/js/admins/base.js"></script>
<style type="text/css" >
.add-form {
	width:100%;
}
.add-form input{
	width:30em;
}
.light-td {
	background-color:#f5f5f5;
}
.form-sel {
	width:200px;
}
    #productList td{width:180px;}
</style>
</head>

<body>

<!-- nav start-->
{# include file="$tpl_root_path/admins/base/navbar.html" #}
<!-- nav end -->    
    
    
    
    
<div class="container-fluid">
    
      <div class="row">
      
    <!-- left  box start-->     
       {# include file="$tpl_root_path/admins/base/left_menu.html" #}
    <!-- left  box end-->        
 
  <!-- right  box start-->  
         
     <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main right-box">
          
          <div class="menu-navbar">{#$menu_navbar#}</div>

       
          
          <div class="info-list-box">
          
          
          <form class="detail-view-box view"   method="post"  >
               <table class="table table-bordered">
                <tbody>
                
                  <tr>
                    <td width="30%" align="center">申请日期</td>
                    <td width="70%" align="left">{#$projectData.FIRSTTIME|date_format:'%Y-%m-%d %H:%M:%S'#}</td>
                  </tr>
                  
                  <tr>
                    <td width="30%" align="center">工程信息</td>
                    <td width="70%" align="left">
                    
                         <table class="table table table-bordered" >
                          <tbody>
                            <tr>
                              <td width="30%" align="center" class="light-td">工程名称：</td>
                              <td width="70%" align="left">{#$projectData.PROJECTNAME#}</td>
                            </tr>
                            <tr>
                              <td width="30%" align="center" class="light-td">工程性质：</td>
                              <td width="70%" align="left">
                                  {#if $projectData.PROJECTTYPE==1#}写字楼{#elseif $projectData.PROJECTTYPE==2#}地铁{#elseif $projectData.PROJECTTYPE==3#}高铁{#elseif $projectData.PROJECTTYPE==4#}机场{#elseif $projectData.PROJECTTYPE==5#}商场
                                  {#elseif $projectData.PROJECTTYPE==6#}公共建筑{#elseif $projectData.PROJECTTYPE==7#}学校{#elseif $projectData.PROJECTTYPE==8#}综合体{#/if#}
                              </td>
                            </tr>

                           <tr>
                              <td width="30%" align="center" class="light-td">建筑面积：</td>
                              <td width="70%" align="left">{#$projectData.PROJECTAREA#}</td>
                            </tr>
                           <tr>
                              <td width="30%" align="center" class="light-td">工程地址：</td>
                              <td width="70%" align="left">{#$projectData.AREAINFO#}{#$projectData.ADDRESS#}</td>
                            </tr>
                            
                             <tr>
                              <td width="30%" align="center" class="light-td">建设单位：</td>
                              <td width="70%" align="left">{#$projectData.CONSTRUCTIONNAME#}</td>
                            </tr>
                            
                          </tbody>
                        </table>
                                        
                    </td>
                  </tr>
                  
                  
                  <tr>
                    <td width="30%" align="center">联系信息</td>
                    <td width="70%" align="left">
                    
                         <table class="table table table-bordered" >
                          <tbody>
                            <tr>
                              <td width="30%" align="center" class="light-td">单位名称：</td>
                              <td width="70%" align="left">{#$projectData.COMPANYNAME#}</td>
                            </tr>
                            <tr>
                              <td width="30%" align="center" class="light-td">联系人：</td>
                              <td width="70%" align="left">{#$projectData.LINKMAN#}</td>
                            </tr>
                            <tr>
                              <td width="30%" align="center" class="light-td">电话：</td>
                              <td width="70%" align="left">{#$projectData.TEL#}</td>
                            </tr>
                           <tr>
                              <td width="30%" align="center" class="light-td">手机：</td>
                              <td width="70%" align="left">{#$projectData.MOBILE#}</td>
                            </tr>
                           <tr>
                              <td width="30%" align="center" class="light-td">邮箱：</td>
                              <td width="70%" align="left">{#$projectData.EMAIL#}</td>
                            </tr>
                            
                             <tr>
                              <td width="30%" align="center" class="light-td">留言：</td>
                              <td width="70%" align="left">{#$projectData.LEAVEWORD#}</td>
                            </tr>
                            
                          </tbody>
                        </table>
                                        
                    </td>
                  </tr>
                  
                  
                  
                   <tr>
                    <td width="30%" align="center">产品信息</td>
                    <td width="70%" align="left">
                        <!-- 产品清单 start-->
                        <table class="table table-striped">
                          <thead>
                            <tr>
                              <th>产品清单</th>
                          </thead>
                          <tbody>
                            <tr>
                              <td>

                                  {#if $projectProductData#}
                                  {#foreach from=$projectProductData item=i#}
                                 <table class="table table-bordered" id="productList">
                                  <tbody>
                                    <tr>
                                      <td align="center" class="light-td">产品分类</td>
                                      <td>
                                          {#if $i.PRODUCTTYPE==1#}天花{#elseif $i.PRODUCTTYPE==2#}墙板{#elseif $i.PRODUCTTYPE==3#}灯具{#elseif $i.PRODUCTTYPE==4#}风口
                                          {#elseif $i.PRODUCTTYPE==5#}踢脚线{#elseif $i.PRODUCTTYPE==6#}窗帘 {#/if#}
                                      </td>

                                      <td align="center" class="light-td">
                                          {#if $i.PRODUCTTYPE==1||$i.PRODUCTTYPE==2||$i.PRODUCTTYPE==5||$i.PRODUCTTYPE==6#}材料类型
                                          {#elseif $i.PRODUCTTYPE==3#}灯具类型 {#elseif $i.PRODUCTTYPE==4#}风口类型{#/if#}
                                      </td>
                                      <td>
                                          {#if $i.PRODUCTTYPE==1||$i.PRODUCTTYPE==2||$i.PRODUCTTYPE==5 #}
                                             {#if $i.SERPRODUCTDATTR.materialType==1#}铝合金{#elseif $i.SERPRODUCTDATTR.materialType==2#}不锈钢{#elseif $i.SERPRODUCTDATTR.materialType==3#}镀锌钢板{#/if#}
                                          {#/if#}
                                          {#if  $i.PRODUCTTYPE==6#}
                                            {#if $i.SERPRODUCTDATTR.materialType==1#}铝合金{#elseif $i.SERPRODUCTDATTR.materialType==2#}太阳布{#elseif $i.SERPRODUCTDATTR.materialType==3#}柔纱{#elseif $i.SERPRODUCTDATTR.materialType==4#}竹板{#elseif $i.SERPRODUCTDATTR.materialType==5#}木板{#/if#}
                                          {#/if#}
                                          {#if $i.PRODUCTTYPE==3#}
                                            {#if $i.SERPRODUCTDATTR.luminaireType==1#}LED平板灯{#elseif $i.SERPRODUCTDATTR.luminaireType==2#}光管式LED灯{#elseif $i.SERPRODUCTDATTR.luminaireType==3#}反光罩式荧光灯{#/if#}
                                          {#/if#}
                                          {#if $i.PRODUCTTYPE==4#}
                                            {#if $i.SERPRODUCTDATTR.tuyereType==1#}流线型侧吹风口{#elseif $i.SERPRODUCTDATTR.tuyereType==2#}零度风口{#elseif $i.SERPRODUCTDATTR.tuyereType==3#}开孔式风口{#/if#}
                                          {#/if#}

                                      </td>
                                    </tr>

                                    <tr>
                                        {#if $i.PRODUCTTYPE==1||$i.PRODUCTTYPE==2||$i.PRODUCTTYPE==3||$i.PRODUCTTYPE==5||$i.PRODUCTTYPE==6#}
                                              <td align="center" class="light-td">
                                                  {#if $i.PRODUCTTYPE==1||$i.PRODUCTTYPE==2||$i.PRODUCTTYPE==5||$i.PRODUCTTYPE==6#}产品类型{#elseif $i.PRODUCTTYPE==3#}材料类型{#/if#}
                                              </td>
                                              <td>
                                                  {#if $i.PRODUCTTYPE==1 && $i.SERPRODUCTDATTR.materialType==1#}
                                                      {#if $i.SERPRODUCTDATTR.productType==1#}标准版{#elseif $i.SERPRODUCTDATTR.productType==2#}铝单板{#elseif $i.SERPRODUCTDATTR.productType==3#}蜂窝板
                                                      {#elseif $i.SERPRODUCTDATTR.productType==4#}瓦楞板{#elseif $i.SERPRODUCTDATTR.productType==5#}U形方通{#elseif $i.SERPRODUCTDATTR.productType==6#}条扣板{#/if#}
                                                  {#/if#}

                                                  {#if $i.PRODUCTTYPE==1 && $i.SERPRODUCTDATTR.materialType==2#}
                                                      {#if $i.SERPRODUCTDATTR.productType==2#}厚板 {#elseif $i.SERPRODUCTDATTR.productType==4#}蜂窝板{#/if#}
                                                  {#/if#}

                                                  {#if $i.PRODUCTTYPE==1 && $i.SERPRODUCTDATTR.materialType==3#}
                                                      {#if $i.SERPRODUCTDATTR.productType==1#}标准版{#elseif $i.SERPRODUCTDATTR.productType==2#}异形板{#elseif $i.SERPRODUCTDATTR.productType==3#}蜂窝板
                                                      {#elseif $i.SERPRODUCTDATTR.productType==4#}瓦楞板 {#/if#}
                                                  {#/if#}

                                                  {#if $i.PRODUCTTYPE==2 && $i.SERPRODUCTDATTR.materialType==1#}
                                                     {#if $i.SERPRODUCTDATTR.productType==2#}铝单板 {#elseif $i.SERPRODUCTDATTR.productType==3#}蜂窝板{#elseif $i.SERPRODUCTDATTR.productType==4#}铝板复合{#/if#}
                                                  {#/if#}

                                                  {#if $i.PRODUCTTYPE==2 && $i.SERPRODUCTDATTR.materialType==2#}
                                                      {#if $i.SERPRODUCTDATTR.productType==2#}厚板 {#elseif $i.SERPRODUCTDATTR.productType==4#}蜂窝板{#/if#}
                                                  {#/if#}

                                                  {#if $i.PRODUCTTYPE==2 && $i.SERPRODUCTDATTR.materialType==3#}
                                                     {#if $i.SERPRODUCTDATTR.productType==2#}蜂窝板 {#elseif $i.SERPRODUCTDATTR.productType==4#}钢板复合{#/if#}
                                                  {#/if#}

                                                  {#if $i.PRODUCTTYPE==3#}
                                                     {#if $i.SERPRODUCTDATTR.productType==3#}铝合金框 {#elseif $i.SERPRODUCTDATTR.productType==4#}镀锌钢板{#/if#}
                                                  {#/if#}

                                              </td>
                                        {#/if#}

                                        {#if $i.PRODUCTTYPE==4#}
                                        <td align="center" class="light-td">尺寸</td>
                                        <td>{#if $i.SERPRODUCTDATTR.size==1#}200*1200{#elseif $i.SERPRODUCTDATTR.size==2#}300*1200{#elseif $i.SERPRODUCTDATTR.size==3#}400*1200{#/if#}</td>
                                        {#/if#}

                                          <td align="center" class="light-td">大约数量</td>
                                          <td>
                                              {#$i.PRODUCTNUM#}
                                              {#if $i.PRODUCTTYPE==1||$i.PRODUCTTYPE==2||$i.PRODUCTTYPE==6#}㎡ {#elseif $i.PRODUCTTYPE==3||$i.PRODUCTTYPE==4#}个{#elseif $i.PRODUCTTYPE==5#}m{#/if#}
                                          </td>
                                    </tr>
                                  </tbody>
                                 </table>
                                  {#/foreach#}
                                  {#/if#}

                                                                   
                              </td>
                            </tr>
                          </tbody>
                        </table>
                       <!-- 产品清单 end--> 
                       
                        <!-- 统计 start-->
                         <table class="table table-striped">
                          <thead>
                            <tr>
                              <th>统计</th>
                          </thead>
                          <tbody>
                            <tr>
                              <td>
                                 
                                 <table class="table table-bordered">
                                  <tbody>

                                  {#if $count#}
                                  {#foreach from=$count item=i#}

                                    <tr>
                                      <td align="center" class="light-td">
                                          {#if $i.PRODUCTTYPE==1#}天花{#elseif $i.PRODUCTTYPE==2#}墙板{#elseif $i.PRODUCTTYPE==3#}灯具{#elseif $i.PRODUCTTYPE==4#}风口
                                          {#elseif $i.PRODUCTTYPE==5#}踢脚线{#elseif $i.PRODUCTTYPE==6#}窗帘 {#/if#}
                                      </td>
                                      <td>
                                          {# $i.NUM#}
                                          {#if $i.PRODUCTTYPE==1||$i.PRODUCTTYPE==2||$i.PRODUCTTYPE==6#}㎡ {#elseif $i.PRODUCTTYPE==3||$i.PRODUCTTYPE==4#}个{#elseif $i.PRODUCTTYPE==5#}m{#/if#}
                                      </td>
                                    </tr>
                                  {#/foreach#}
                                  {#/if#}

                                  </tbody>
                                 </table>
                                     
                              </td>
                            </tr>
                          </tbody>
                        </table>
                        <!-- 统计 end-->
                        
                        
                    </td>
                  </tr>
                  
                  
                  
                  <tr>
                    <td width="30%" align="center">状态</td>
                    <td width="70%" align="left">
                    <select  class="form-control form-sel" id="status" name="status">
                      <option value="0"   {#if $projectData.STATUS==0#}selected="selected"{#/if#}>待联系</option>
                      <option value="1"   {#if $projectData.STATUS==1#}selected="selected"{#/if#}>已联系</option>
                    </select>
                    </td>
                  </tr>
                  
                   <!--<tr>-->
                    <!--<td width="30%" align="center">操作人</td>-->
                    <!--<td width="70%" align="left">-->
                    <!--<select  class="form-control form-sel" id="systemId" name="systemId">-->
                      <!--<option value="0">邝先生</option>-->
                      <!--<option value="1">陈先生</option>-->
                    <!--</select>-->
                    <!--</td>-->
                  <!--</tr>-->
                  
                   <tr>
                    <td align="center" colspan="2">
                       <input class="btn btn-success" value="保存"  type="submit" name="submit"  />&nbsp;&nbsp;&nbsp;
                       <input class="btn btn-default" value="返回" type="button" onclick="goback({#$p#})">
                    </td>
                  </tr>
                  
                  
                </tbody>
              </table>
            </form>
          </div>
 
    
          </div>
          
 

          
     </div>
 
  <!-- right  box end-->         
        
      </div>
</div>



</body>
</html>

<script type="text/javascript">
    function goback($p){
        window.location.href="http://system.gzcanr.com/admins/project_manage-p-"+$p+".html";
    }
</script>